package io.finer.erp.jeecg.bas.mapper;

import java.util.List;

import io.finer.erp.jeecg.bas.dto.PfMaterialDTO;
import io.finer.erp.jeecg.bas.entity.BasPfMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Description: 产品配方详情表
 * @Author: jeecg-boot
 * @Date:   2020-10-19
 * @Version: V1.0
 */
public interface BasPfMaterialMapper extends BaseMapper<BasPfMaterial> {

	public boolean deleteByMainId(@Param("mainId") String mainId);
    
	public List<BasPfMaterial> selectByMainId(@Param("mainId") String mainId);

	public List<PfMaterialDTO> getPfInfo(@Param("pfId")String pfId);
}
